package com.peanut.service;

import com.peanut.domain.bo.ForumTitleBO;
import com.peanut.domain.po.ForumTitle;
import com.peanut.domain.po.TabAdmin;

import java.util.List;

public interface ForumTitleService {
    boolean insertTitle(ForumTitleBO bo, TabAdmin tabAdmin);

    List<ForumTitleBO> getTitles(ForumTitleBO bo,Integer pageNum, Integer pageSize);

    ForumTitle selectTitleById(String forumId);

    void updateCommentNum(String forumId);

    boolean delete(String id);

    boolean updateCommentNumber(String forumId, Long b);

    void likeTitle(String id);
}
